package com.sf.dlb.jpa.model;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 等级信息表 Entity
 *
 * Created by jing.tan on 2018/12/10.
 */
@Entity
@Table(name = "user_grade")
public class UserGradeInfo extends BaseEntity {
	/*
	  `grade` varchar(64) DEFAULT '0' COMMENT '等级',
	  `name` varchar(128) DEFAULT NULL COMMENT '等级名称',
	  `icon` varchar(255) DEFAULT NULL COMMENT '图标',
	  `grade_desc` varchar(1000) DEFAULT NULL COMMENT '等级描述',
	  `price` decimal(10,3) DEFAULT '0.000' COMMENT '价格',
  	  `validity` int(8) DEFAULT NULL COMMENT '有效期(日)',
	  `multiple` int(3) DEFAULT NULL COMMENT '阅读倍数',
	  `invitation_number` int(3) DEFAULT '0' COMMENT '邀请码数量',
	  `read_divide` decimal(10,3) DEFAULT '0.000' COMMENT '下线阅读分成(百分比)',
	  `buy_divide` decimal(10,3) DEFAULT '0.000' COMMENT '下线购买奖励(百分比)',
	  `money_poom_divide` decimal(10,3) DEFAULT '0.000' COMMENT '资金池日分红(百分比)',
  */
	
	private static final long serialVersionUID = 1L;
	private String grade;		// 等级
	private String name;		// 等级名称
	private String icon;		// 图标
	private String gradeDesc;   // 等级描述
	private Double price;     	//	价格
	private Integer validity;	//	有效期(日)
	private Integer multiple;	//	阅读倍数
	private Integer invitationNumber;//	邀请码数量
	private Double readDivide;//	下线阅读分成(百分比)
	private Double buyDivide;//	下线购买奖励(百分比)
	private Double moneyPoomDivide;//	资金池日分红(百分比)


	public String getGrade() {
		return grade;
	}

	public void setGrade(String grade) {
		this.grade = grade;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getGradeDesc() {
		return gradeDesc;
	}

	public void setGradeDesc(String gradeDesc) {
		this.gradeDesc = gradeDesc;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

	public Integer getValidity() {
		return validity;
	}

	public void setValidity(Integer validity) {
		this.validity = validity;
	}

	public Integer getMultiple() {
		return multiple;
	}

	public void setMultiple(Integer multiple) {
		this.multiple = multiple;
	}

	public Integer getInvitationNumber() {
		return invitationNumber;
	}

	public void setInvitationNumber(Integer invitationNumber) {
		this.invitationNumber = invitationNumber;
	}

	public Double getReadDivide() {
		return readDivide;
	}

	public void setReadDivide(Double readDivide) {
		this.readDivide = readDivide;
	}

	public Double getBuyDivide() {
		return buyDivide;
	}

	public void setBuyDivide(Double buyDivide) {
		this.buyDivide = buyDivide;
	}

	public Double getMoneyPoomDivide() {
		return moneyPoomDivide;
	}

	public void setMoneyPoomDivide(Double moneyPoomDivide) {
		this.moneyPoomDivide = moneyPoomDivide;
	}


}